package xyz.zdsoft.ask_for_leave_manage_module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class StudentLeaveForTeacherVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "请假id")
    private Integer leaveId;

    @ApiModelProperty("申请提交日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;

    @ApiModelProperty("学院名称")
    private String collegesName;

    @ApiModelProperty("专业名称")
    private String majorName;

    @ApiModelProperty("年级名称")
    private String gradeName;

    @ApiModelProperty("班级名称")
    private String className;

    @ApiModelProperty("学号")
    private String userNo;

    @ApiModelProperty("学生姓名")
    private String stuName;

    @ApiModelProperty("请假主题")
    private String theme;

    @ApiModelProperty("请假类型")
    private Integer leave_type;

    @ApiModelProperty("请假原因")
    private String reason;

    @ApiModelProperty(value = "请假开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startLeaveTime;

    @ApiModelProperty(value = "请假结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endLeaveTime;

    @ApiModelProperty(value = "请假类型:0：病假；1:事假；2：其他")
    private Integer leaveType;

    @ApiModelProperty("是否可以处理该请假 1 可以 0 不可以")
    private Integer tag = 0;
}
